<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>猫狗之家许愿墙</title>
<link rel="stylesheet" href="css/index.css" />
<script type="text/javascript" src='js/jquery-1.7.2.min.js'></script>
<script type="text/javascript" src='js/index.js'></script>
</head>
<body>

	<div id='top'>
		<span id='send'></span>
	</div>
	
	<div id='main'>
		<dl class='paper a1'>
			<dt>
				<span class='username'>领养狗狗</span>
			</dt>
			<dd class='content'>本人想领养一个狗狗。无论什么品种我一定会照顾好狗狗的。会拿它们当自己的孩子一样对待的 tel:15178440311 黑龙江哈尔滨 qq:1424952417</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a2'>
			<dt>
				<span class='username'>我想领养一只 小猫 健康就可以 </span>
			</dt>
			<dd class='content'>我想领养一只 小猫  希望小猫是健康的 先谢谢啦</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a4'>
			<dt>
				<span class='username'>超级想领养一直猫咪</span>
			</dt>
			<dd class='content'>本人是女生，特别的喜欢猫咪，以前跟家人在一起住，不方便养，现在有自己的固定住所，特想领养一直猫咪，有3个月的养猫经验，之前朋友出差，她的猫咪放在我这里寄养，因为本地实在找不到领养的地方，外省的可以让我领养，那最好了，（可以那天视频回访，照片回访）都可以，也</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a3'>
			<dt>
				<span class='username'>普通的小土狗，两个月，求领养，等</span>
			</dt>
			<dd class='content'>不吃它，不卖它，因为你卖也卖不了钱，只希望他不要成为一只流浪的狗狗。看家，捉老鼠都可以！</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a2'>
			<dt>
				<span class='username'>垂耳兔，黄白公兔求领养</span>
			</dt>
			<dd class='content'>要求有爱心，能细心照顾兔子，非诚勿扰</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a1'>
			<dt>
				<span class='username'>想领养猫咪</span>
			</dt>
			<dd class='content'>非常喜欢猫咪，想领养一只，最好是小猫，QQ3293621399，可以定期发送视频</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a3'>
			<dt>
				<span class='username'>领养猫咪</span>
			</dt>
			<dd class='content'>本人非常喜欢猫咪，想领养一只，最好是小猫，QQ3293621399，可定期给原主人发送视频，有的话联系我</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a2'>
			<dt>
				<span class='username'>普通小宠物狗找麻麻</span>
			</dt>
			<dd class='content'>   希望有一个本地的人来收养他    对他好就可以     希望可以尽心对他   狗贩子请滚</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a1'>
			<dt>
				<span class='username'>想领养一只可爱的大花猫</span>
			</dt>
			<dd class='content'>想领养一个大花猫谢谢</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a2'>
			<dt>
				<span class='username'></span>
			</dt>
			<dd class='content'>中体型犬温驯以前的花狗也好是不是品种无所谓</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a1'>
			<dt>
				<span class='username'></span>
			</dt>
			<dd class='content'>我很想领养一只哈士奇幼崽，不需要太纯。</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a3'>
			<dt>
				<span class='username'></span>
			</dt>
			<dd class='content'>我想养一只猫或狗，最好是幼崽</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a3'>
			<dt>
				<span class='username'></span>
			</dt>
			<dd class='content'>我想领养一只大橘猫</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a1'>
			<dt>
				<span class='username'></span>
			</dt>
			<dd class='content'>想要一只狗</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a4'>
			<dt>
				<span class='username'></span>
			</dt>
			<dd class='content'>想领养一只猫，一直很喜欢猫，会做宠物的营养餐，会帮它剪指甲，洗澡，会给它一个温暖的家(❁´︶`❁)</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a1'>
			<dt>
				<span class='username'></span>
			</dt>
			<dd class='content'>本人非常喜欢猫咪，非常的想要一只，求求大家能够帮我，淘宝上太多骗人的了，我一定会对它非常好，我有养猫的经验</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a1'>
			<dt>
				<span class='username'></span>
			</dt>
			<dd class='content'>我是华中师范大学萌新～很爱宠物，家里也养过两年的宠物，现在到了新的地方，看到广场上的狗狗们</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a4'>
			<dt>
				<span class='username'></span>
			</dt>
			<dd class='content'>我是华中师范大学的萌新，诚心想养一只宠物猫</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a3'>
			<dt>
				<span class='username'></span>
			</dt>
			<dd class='content'>我是华中师范大学的萌新，诚心想养一只宠物猫</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a2'>
			<dt>
				<span class='username'></span>
			</dt>
			<dd class='content'> 想领养一个小狗  母的  非常爱狗狗</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a1'>
			<dt>
				<span class='username'></span>
			</dt>
			<dd class='content'>想领养只狗。.</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a2'>
			<dt>
				<span class='username'></span>
			</dt>
			<dd class='content'>本人想领养一只母松鼠，有必善待</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a3'>
			<dt>
				<span class='username'>想领养一只小萨摩</span>
			</dt>
			<dd class='content'></dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a4'>
			<dt>
				<span class='username'></span>
			</dt>
			<dd class='content'>  我一直想养一只那种可爱长不大的小狗狗  </dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a4'>
			<dt>
				<span class='username'>领养小猫</span>
			</dt>
			<dd class='content'>本人很喜欢小猫 非常想养一只猫，最好是年龄小一点的。</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a2'>
			<dt>
				<span class='username'></span>
			</dt>
			<dd class='content'>自己一个人住很孤独
超有爱心的想养只狗狗</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a1'>
			<dt>
				<span class='username'></span>
			</dt>
			<dd class='content'>我想要一只黑白猫</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a2'>
			<dt>
				<span class='username'></span>
			</dt>
			<dd class='content'>喵星人:黑白色
性格:开郎、活泼
希望大家能支持我，我想有朋友陪我</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a3'>
			<dt>
				<span class='username'></span>
			</dt>
			<dd class='content'>我想领养一直猫咪，我会好好抚养的</dd>
			<dd class='bottom'>
				<span class='time'>2018-04-2 01:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a2'>
			<dt>
				<span class='username'></span>
			</dt>
			<dd class='content'>想领养一只个把月大的小狗</dd>
			<dd class='bottom'>
				<span class='time'>2018-04-23 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl><dl class='paper a4'>
			<dt>
				<span class='username'></span>
			</dt>
			<dd class='content'>想领养一只个把月大的小狗或者大一点能听话不咬人的狗</dd>
			<dd class='bottom'>
				<span class='time'>1970-01-01 08:00</span>
				<a href="" class='close'></a>
			</dd>
		</dl>
	</div>

	<div id='send-form'>
		<p class='title'><span>许下你的愿望</span><a href="" id='close'></a></p>
		<form action="" name='wish'>
			<p>
				<label for="username">愿望：</label>
				<input type="text" name='username' id='username'/>
			</p>
			<!--  
			<p>
				<label for="content">愿望：(您还可以输入&nbsp;<span id='font-num'>50</span>&nbsp;个字)</label>
				<textarea name="content" id='content'></textarea>
				<div class="contentinfo" contenteditable="true" ></div>
				
				<div id='phiz'>
					<img src="images/phiz/zhuakuang.gif" alt="抓狂" />
					<img src="images/phiz/baobao.gif" alt="抱抱" />
					<img src="images/phiz/haixiu.gif" alt="害羞" />
					<img src="images/phiz/ku.gif" alt="酷" />
					<img src="images/phiz/xixi.gif" alt="嘻嘻" />
					<img src="images/phiz/taikaixin.gif" alt="太开心" />
					<img src="images/phiz/touxiao.gif" alt="偷笑" />
					<img src="images/phiz/qian.gif" alt="钱" />
					<img src="images/phiz/huaxin.gif" alt="花心" />
					<img src="images/phiz/jiyan.gif" alt="挤眼" />
				</div>
			</p>
			-->
			<span id='send-btn'></span>
		</form>
	</div>

<!--[if IE 6]>
<script type="text/javascript" src="js/iepng.js"></script>
<script type="text/javascript">
DD_belatedPNG.fix('#send,#close,.close');
</script>
<![endif]-->
<script type="text/javascript">
$('#send-btn').click(function(){
	var myDate = new Date();
	var h=myDate.getHours();       //获取当前小时数(0-23)
    var m=myDate.getMinutes();     //获取当前分钟数(0-59)
    var s=myDate.getSeconds();
	var left= parseInt(1000*Math.random());
	var top= parseInt(50*Math.random());
	var title=$('#username').val();
	var content=$('.contentinfo').html();
	if(title==''){
        alert('写点东西吧!');
        return;
	}
    var info='';
	    info='<dl class="paper a1" style="left:'+left+'px;top:'+top+'px;">';
		info+='<dt>';
		info+='<span class="username">'+title+'</span>';
		info+='</dt>';
		
		info+='<dd class="bottom">';
		info+='<span class="time">'+'今天'+h+':'+m+':'+s+'</span>';
		info+='<a href="" class="close"></a>';
		info+='</dd>';
		info+='</dl>';
	$('#main').append(info);
	$('#close').click();
	$.post("/promise.jsp",{title:title,content:content},function(data){
            
	})
})
</script>
</body>
</html>